ExamPlay Light Logo
로그인

Computer Science for IGCSE & O level - Programming (Section 12 - No. 11)

What is the outcome of the given code using count-controlled loop: ``` For number to 10 to 50 Step 5 Console.WriteLine(number) Next number ```
Prints numbers from 10 to 50 increasing by 5.
Prints a single number only.
The loop will not execute, as the end value is greater than start value.
It will print the value 50 only.

설명

The loop will iterate from 10 to 50, incrementing by 5 each time, printing the current value of the number.

댓글 (0)

댓글을 달려면 로그인하세요
광고
BrainBehindX Inc Logo
©2026; 에 의해 구동 BrainBehindX Inc